You can comment out multiple lines in Notepad++ by following these steps:
Open Notepad++ document.
Select the lines that you want to comment out.
Press Ctrl + Shift + Q.
You can uncomment lines by selecting them. After that, select Block Uncomment by clicking Edit > Comment/Uncomment.
The alternative ways are as follows:
To comment, select the lines and press Ctrl + Q.
If you want to uncomment multiple lines at once, use the above-mentioned key combination after selecting the lines.
Select the lines.
For comment – Press Ctrl + K.
For uncomment – Press Ctrl + Shift + K.