21.1 C Language Comments
The MPLAB XC16 C Compiler supports standard C comments, as well as C++ style comments. Both types are illustrated in the following table.
Comment Syntax | Description | Example |
---|---|---|
/* */ | Standard C code comment. Used for one or more lines. | /* This is line 1
|
// | C++ code comment. Used for one line only. | // This is line 1
|