assistance-engine/docs/developer.avapframework.com/chapter7_2.md

526 B

3.1 Line Comments

Line comments in AVAP™ are used to add brief annotations or explanations to a specific line of code. These comments begin with the // symbol and continue until the end of the line. Everything following // is considered a comment and is ignored by the compiler.

// This is a line comment in AVAP™ 
int x = 5; // You can also add comments at the end of a line of code

Line comments are useful for providing quick clarifications about the code and improving its readability.