Comments by deterministic finite automata