1. Select a block of code in one of the editors.
  2. Press Command /
  3. That bit of code will be commented.

This works for any code box or language you happen to be in: