For anyone who uses LinuxCNC you can insert the following comment:

(msg, your message here)

Then it will display everything after the comma as a message.