Hello, I'm using the Bracket Lens Extension, it is very helpful but there is a Problem when #ifdef's are used, pls see the Picture - the VSCode Editor shows the same Problem marking matching brackets , so you are not alone here ;-) ...

Probably You may check this ?
Special THX, Enrico