How to comment multiple lines of code/block of code in VB?
Block comments in C-like style /* my comment */ would be useful on e.g. multi-line VB.net statements. They are currently not available. However, in place of writing
myVal = "bla bla bla" /* my comment */ _
+ " more of the same " _
+ " and still more "
You could write:
myVal = "bla bla bla" + 'my comment
" more of the same " +
" and still more "
That will work on the later versions of VB.Net.