Copy From http://www.cnblogs.com/renyu732/archive/2007/07/28/245659.html
Comment multiple lines to VB.net
ToProgramAnnotations are a task that every programmer must complete. However, sometimes we need to annotate a piece of text. It is difficult to add a line of comments, development efficiency will also decrease.
I saw the text block annotation tips on the internet today. I would like to share with you the following:
Select the text block you want to comment on, and then press Ctrl-K Ctrl-C to annotate the text block you choose.
If you want to cancel the text block that has been commented out, Ctrl-K Ctrl-U.
More development tips: http://www.gudanuf.com/DotNetTips.htm
For another exampleCode
''' <Summary>
''' Method
''' </Summary>
''' <Param name = "B"> function of parameter B </param>
''' <Returns> Returns a Boolean value </returns>
Function A (byval B as integer) as Boolean
End Function
In this way, when other code is compiled to call function a, intelligent awareness of VB. NET will provide corresponding help.
Brief Introduction
<Summary> the label stores the function description.
<Param> the label is the description of the parameter, and the name attribute is the name of the parameter you want to describe.
<Returns> the label contains the description of the returned value.