Fixed problem with newline preservation when stripping out comments.