Possible Duplicate:
commenting VB code
Does anybody know how to do a block comment in Visual Basic?
Note: I did a few searches on here and neither those results nor the results for ‘Questions that may already have your answer’ appeared to ask this question
There is no block comment in VB.NET.
You need to use a
'in front of every line you want to comment out.In Visual Studio you can use the keyboard shortcuts that will comment/uncomment the selected lines for you:
Ctrl + K, C to comment
Ctrl + K, U to uncomment