Preserve newlines in template code to allow // comments to be used