Never.
If I wore underwear on a ride, I wouldn't be wearing cycling shorts/pants.
It defeats the purpose of the padding, like another mentioned... and I think is just far more harsh on the skin... also potentially less 'sanitary' when it comes to the sweating factor.