Fixed some bugs in removing comments involving escaped single quotes. Also made line comments preserve their newline.
Added the same ability to exit double quote sequences when they have escaped double quotes within them.