fixed regex to omit multiline-comment start/end markers as comment starters
switched from printing commented code to actually writing it to file
ignores 'comments' in multiline comment blocks