Toggling comments

Use the Toggle Comment command to (un)comment one or more lines:

  1. Put the cursor in the desired line, or select the desired lines.
  2. Right-click and select Toggle Comment.
When you comment lines, a comment pipe symbol [|] appears at the beginning of each of the selected lines. This prevents the lines from being compiled or interpreted.

This figure shows an example:

The comment pipe symbols are removed when you uncomment the lines.