Comments in the Go program with tutorial and examples on HTML, CSS, JavaScript, XHTML, Java, .Net, PHP, C, C++, Python, JSP, Spring, Bootstrap, jQuery, Interview Questions etc.
Comments are the non-executable lines. In other words, comments are those lines or statements in the program which will not be executed during the execution process. The compiler ignores the comments automatically in the program. Comments are very useful to the developer while he writes the code in the program. It is a part of each program. Comments give details about the code in the program.
If the developer wants to give some messages, then he uses comments in the program.
It gives the details about the source code, which are readable by a normal human. This information also helps in maintaining the code in the program. It also helps in debugging the bugs.
In the go language, comments are used to provide the developer details about the variable, functions control structures, and any specific line of code or statement in the program. This information is very useful in the maintenance of the codes.













