0
Why we use nested comments ?
Why we use nested comments in programming languages?
3 ответов
0
Well, yes!
+ 1
To disable some code in debugging for example, using a nested comment is a quick and easy solution. However, continued use of nested comments as you type might cause some needed code to be commented out by mistake, which can cause errors. But most IDEs and advanced text editors today use color-coded text, so anything commented out would be easily spotted.
0
So, you are telling that if a particular section of code is to be disabled for debugging process which itself contain some comments then nested comments are used