dictionary: fix handling of blank lines after a comment