Suppress output even when a comment follows ;. Fixes #4525.
Merge pull request #5388 from shashi/semicolon-fix

Suppress output even when a comment follows ;. Fixes #4525.