Unbuffered multiline comments in CoffeeScript?

Correct me if I am wrong, the only way to unbuffer (not output to .js) comments in CoffeeScript

# This is the only way to mute this single-line comments 

Buffers ### for multi-line

 ### This will be outputted to the .js For things like copyright notices. ### 

But is there no way to have unbuffered multi-line comments?

 # This is the only way to mute # multiple-lines 

Thanks.

+7
source share
1 answer

Correctly. But this is less complicated than it sounds, because your text editor most likely provides a keyboard shortcut for commenting / digging strings. For example, in TextMate with the jashkenas package, you simply highlight the lines you want to comment on and press Cmd+/ to put a # in front of each. The same shortcut may also disable comments this way.

+6
source

All Articles