Answer:
They can, but not always. It depends on the material and the fit in the crotch area. Any clothing or underwear that increases the temperature of the testicles can cause sperm to die prematurely. This is the anatomical reason for the scrotum in humans : to provide a cooler location for the testes.