To comment a single line, you should use two forward slashes (//).
To comment multiple lines, you should write text between /* and */.
Here is an example:
#include <stdio.h>
// This is a single line comment
/* This is a multi-line comment
This is a multi-line comment*/
int main() {
printf("Showing single line and multi-line comments in C\n");
return 0;
}