Not only on class diagrams, but on all UML diagrams it is the common element and it is called Note. Very important one, really.
Up to the standard, you can write something to any element, but this something will never be comments. Except the case of Note.