Commenting out code
To comment a block of code
- In the C/C++ Editor, highlight a section of code to be commented. For one line, place your cursor on that line.
- Right-click and click Comment.
To uncomment a block of code
- In the C/C++ Editor, highlight a section of code to be
uncommented. For one line, place your cursor on that line.
- Right-click and click Uncomment.