Rule `no-warning-comments`: prevent duplicate errors (fixes #876)