Multi-line comments, also called block comments.
How to view and modify the multi-line comment shortcut keys in VS Code? (Recommended learning: vscode introductory tutorial)
1). Click Preferences - Keyboard Shortcuts
2). Enter comment## in the search box
#3). At this time, you can see the "Switch Block Comment" message, which is the shortcut key for the default multi-line comment.Schematic diagram:
The above is the detailed content of How to comment multiple lines in vscode. For more information, please follow other related articles on the PHP Chinese website!