You cannot attach a comment to a trigger.
However, you can add comments to the trigger body.
If you enter comments in the body, for example, /** comment **/
you can extract these comments with the following query:
SELECT
SUBSTRING(b.body, b.start, (b.eind - b.start)) as comment
FROM (
SELECT
a.body
,locate('/**',a.body) as start
,locate('**/',a.body) as eind
FROM (
SELECT t.ACTION_STATEMENT as body FROM information_schema.triggers t
WHERE t.TRIGGER_NAME like %aname%
) a
) b
source
share