Skip to main content

All Questions

Tagged with
27 votes
6 answers
27k views

How to solve the problem of nested comments

It appears in not just one language that comments can't be nested. Do you have a good solution for this problem? One workaround in C/C++ and Java is to only use the single-line comment but it becomes ...
Niklas Rosencrantz's user avatar