Visual Studio Different Line Heights in the Editor

You probably have Productivity Power Tools installed with Syntactic line compression enabled. You can turn it off in VS Options - Productivity Power Tools - Other Extensions.


For the VS2019 it is quite similar to the provided solutions:

Tools -> Options-> Productiviry Power Tools -> General

Under "Syntatic line compression options" you uncheck: "Compress lines that does not have any alphanumeric characters" like {,[ and so on

You also can uncheck "Compress blank lines" but this will be only for lines without anything in it.