In C++ a symbol // (double slash) is used as a comment symbol and there is no termination symbol. Comment begin with // symbol. A comment can be inserted anywhere in the line and whatever follows till the end of line is ignored. The C comment symbols /* and */ are also valid in C++.
// This is a C++ comment style
/* The C comment style is also valid in C++. */