sublime comment shortcut code example

Example 1: sublime text comment shortcut

# Workaround for sublime comment bug:
Goto Preferences -> Key Bindings and paste this in
{ "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } }

Example 2: how to comment multiple lines in python ion sublime text

To comment Multiple Lines over Sublime Text for a python Code

For Mac Users:
  Press: 'cmd' + '/'
    
For Windows Users:
   Press: 'ctrl' + '/'