(i) When your foot is at the top, the line of action of the force passes through the centre of the pedal. So, θ = 0, and τ = Fr sinθ = 0.
(ii) To get maximum torque, sinθ must have its maximum value, that is θ must be 90º. This happens when your foot is at position B and you are pressing the pedal downwards.