Make comment handling more general
Make comment handling more general

This will fix an issue with outputting code for GAS, since it uses ANSI C
style comment characters, which have both a prefix *and* a suffix.

adamnew123456/spc,adamnew123456/spc