Embed comment into source code. in C lang
Embed comment into source code.
// handles string after // as comments.
// can be written after statement like function, assigning variable, etc...
/* - */ hansles string included by /* */ as comments.
/* - */ can be embedded between statements.
/* - */ can not be embedded into other /* - */.
comment.c
#include <stdio.h>

int main(void) {
  // one line comment

  printf("one line comment can write after statement\n"); // one line comment

  /* This comment style can be written in multi lines like the following */
  /*
    line 1
    line 2
  */
  /* This comment style can be embedded in statement */
  printf("This printf() statement line includes " /* comment */ "comment\n");

  return 0;
}

      
Result
$ gcc comment.c -o comment
$ ./comment
one line comment can write after statement
This printf() statement line includes comment