comments: do not emit a changed event if the file is not changed