Reader mode

Using options in Settings/Preferences | Editor | Reader Mode settings you can configure how to display code and comments in read-only files and libraries to make them easier to read and understand.

You can enable inlay hints, font ligatures, adjust line spacing, toggle rendered view of comments, and so on.

Reader Mode