Choose the SQL code you want to uncomment or comment out. Click anywhere in the line of code for a single line. Drag the pointer through the lines of code for several lines. Toggle Comment by right-clicking on the selected SQL code. If the line was formerly active, it is now a comment.