In most config files I add a short comment at the end of a line without thinking. A crontab is one of the places where that goes wrong.
The cronie manual for crontab(5) says that lines starting with # are comments, but that comments are not allowed on the same line as cron commands, because they are considered part of the command. Likewise, comments are not allowed on the same line as an environment variable setting. For a variable the damage is easy to see:
[email protected] # alerts go here
0 3 * * * /usr/local/bin/backup.sh
Here the value of MAILTO is not just the address: everything after the equals sign belongs to the variable, so cron would try to send mail to a very odd address. A MAILTO that is wrong like this fails quietly, which is the worst kind of bug in a job that mails you only when it breaks.
The safe layout is to give every comment its own line:
# alerts go here
[email protected]
# nightly backup
0 3 * * * /usr/local/bin/backup.sh
On a command line, a trailing comment is handed to the shell together with the command, and what the shell does with it depends on the shell and the rest of the line. A % in the comment makes it worse, because cron turns an unescaped percent sign in the command part into a newline and sends everything after it to the command as standard input. I do not want to find out how a stray sentence behaves, so I keep comments out of those lines.
My caveat: I only read the cronie page. The Ubuntu and Debian cron package is a different implementation, so run man 5 crontab on your own machine. With cronie, crontab -T file tests the syntax of a file without installing it and stops at the first problem it finds, which is a cheap check after editing.
Further reading: crontab(5) manual (cronie), crontab(1) manual (cronie): -T
Going deeper: Guide: find out why a Linux service failed, with journalctl