Tips:

  • select a portion of the text (Ctrl+A selects all of it) and...
    • ... type a bracket to wrap it
    • ... press Shift+Tab to auto-indent it
    • ... press Ctrl+G to (un)comment it
  • type // or ## and the rest of the line will be a comment
  • wrap part of the query in /* ... */ to create a multi-line comment