Single stranded DNA in gel electrophoresis
As already mentioned formamide can be used. However formamide has to be incubated with the nucleic acid sample and heated. Urea can be included in the gel (8%). DNA can also be denatured using NaOH. NaOH, however, cannot be used for RNA because it will cause alkaline hydrolysis. 
I don't much agree on this point. Though dsDNA can produce diverse structures, as buzrw mentioned, so can ssDNA (in fact more diverse). Moreover, linearization solves the issue of supercoiling. We never compare circular plasmids with each other on the gel. Long linear dsDNAs can form structures but then in such cases gel electrophoresis is not a very suitable method for comparison. PFGE might be a better option in such cases.