If you have purchased and installed the Private Notes add-on then you can add internal notes visible only to other agents.
The button for this option is at the TOP of the ticket screen:
When clicked, the ADD NOTE button will pop up a box to enter your notes:
Once added, the note appears in a separate color.