multiline comment in vb.net

No we dont unfortunately..........

You can do: Ctrl + K, Crtl + C

To uncomment ctrl+k ctrl+u


In Visual Basic .Net 2008 and 2010, I use the following C++ Workaround.

#If AFAC Then

#End if

For english speaking AFAC = "à effacer" = "to delete"

I alreay use #If COMMENT or #If TODO

The #if COMMENT then solution is more power than the C++/Java/C# /* text */ solution because it is possible to imbricate (embed) #if but not /* !!!

For more information see the following link


Just hold "alt"+"shift" and move cursor up or down to select lines, and press " ' "


Not possible. Write your chunk, select it and press Ctrl+K, Ctrl+C to comment it.

But it doesn't always matter as often you use ''' in front of a method or property to describe it. Then it will automatically create the comments for you.