how to write comments in c++ methodss code example Example: comment in c++ // This is a single one line comment /* multiline comment */