'How to comment a line in Pycharm? [duplicate]
Solution 1:[1]
Go to your PyCharm settings (
ctrl+alt+s) and locate theKeymapon the left sidebar.Look up
commentusing the search bar on the top right, and look at the shortcut forComment with Line Comment.Change it to whatever you'd like, and see if it works.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

