Inserting and Removing Comments

The current source code selection will be converted to comments by pressing control+- (control dash). Similarly, comment lines are converted back to regular code by the same key sequence. Alternatively, the transformation can be achieved using the contextual menu invoked by right-clicking in the source file and selecting Toggle Comment

Commenting Lines Before

After invoking the command the selected lines are commented, as the following figure shows.

Commenting Lines After