logoalt Hacker News

svnt • yesterday at 8:59 PM • 0 replies • view on HN

If you put a trailing backslash in a // comment you can comment out the next line inadvertently.

If you put a // comment in a multi-line macro you can comment out the rest of the macro, not just that line.

There are probably lots of other ways but I would guess it hinges on accidentally using a comment to remove or introduce code that is not apparent.