Bug in 2.3.0: code without comments gets diff twice

Refactoring in 2.3.0 introduced a bug where code without comments prints diff twice