The quick-and-easy answer to that question is an emphatic no. If you're wearing underwear under swim shorts, then you're wearing the wrong swim shorts.
Relieve symptoms of sore throat by eating cool, soft food and drinking cool or warm drinks, as well as sucking lozenges, ice cubes, ice lollies or hard sweets.