Inactive preprocessor blocks based on configuration


I started learning ardupilot code and sorry if it is a dumb question. I use VS Code and it shows inactive code blocks that do not correspond to my board and configuration. It is clear that some definitions are generated during build (>hwdef.h) so I guess it is expected. My question is that can it be in a way that only those code blocs are inactive that are corresponds to the actual configuration?

It would make understanding the code much easier and I think during development it is still an inconvenience (or is it?)