added 'nuke_newlines' and support for xml/html comments in 'remove_comments'