This is different in different programming languages. Some
character groups used in various languages to start a comment are:
//, ;, !, /*, --, #, ', {, <!--, {-, etc. Some languages also
require a character group to end a comment. Some older languages
did not use character groups to mark comments but required them to
appear in a certain place on every program line. There are endless
variations in how commenting is done in computer programming
languages.