Part 2.3Comments in VB.NET
Commenting is a very useful way of reminding future programmers or the original programmer when they haven't programmed on the same project for a long time what a section of code does. Therefore, it is recommend to comment code while working on it.
Most commercially developed applications have been commented because a wide array of people will work on them.
Commenting code in VB.NET
In Visual Basic, a comment is represented by an apostrophe (
The line starts with an apostrophe. This represents that a piece
of text that should be ignored as a piece of code. A comment is
not compiled by the compiler. The purpose of a comment is to inform
the programmer what the line below or above does. It is only visible
in the text editor.
'This is a comment in the code