Shortcut key for commenting out lines of Python code in Spyder
Single line comment
Ctrl + 1
Multi-line comment select the lines to be commented
Ctrl + 4
Unblock Multi-line comment
Ctrl + 5
On macOS:
Cmd + 1
On Windows, probably
Ctrl + (/) near right shift key