Block Comment Python Code in Sublime Text Editor

To block comment multiple lines of codes in sublime text, simply…

(On a Mac)

  • highlight the lines of codes.
  • hit the keys: "cmd" + "/"
  • note that the multiple lines of codes are now prefixed with the hash sign (#). i.e. commented out.
  • repeat above to uncomment.

(On a PC)

  • (I have not tried this out yet).

2 thoughts on “Block Comment Python Code in Sublime Text Editor”

Comments are closed.