You can comment out one or more lines of code. The leading characters // are added to the beginning of each line.
Tip: The characters /* */ on lines that already are already commented out are not affected when you comment and uncomment code as described above.
To comment out code:
Customizing the C/C++ editor
Working with Content Assist
C/C++ editor, code templates and search
preferences