Home >Backend Development >C#.Net Tutorial >Are the comments in the program included in the compilation?
Does the comment part in the program participate in compilation?
The comment part in all programming languages does not participate in compilation, nor does it They will not appear in the target program. Comments are only made to make it easier for programmers to understand the program.
Its function is to give the code an annotation, so that other programmers who read your code can understand the meaning of each statement.
Related introduction:
Comments are explanations and descriptions of the code, and their purpose is to make it easier for people to understand the code. Comments are when the programmer writes an explanation or hint for a statement, program segment, function, etc., which can improve the readability of the program code.
Comments are only for readability and will not be compiled by computers.
The above is the detailed content of Are the comments in the program included in the compilation?. For more information, please follow other related articles on the PHP Chinese website!