Syntax is not highlighted when using processor directives !DEVELOPMENT_BUILD && !UNITY_EDITOR

Hi!
I have code that destroys my debug manager when I’m not in the editor or developer build. And all the code in the #if is not highlighted (even if i use it separately):

    #if !DEVELOPMENT_BUILD && !UNITY_EDITOR
    
        private void Awake() 
        {
            GameObject.Destroy(gameObject);
        }
    
    #endif

I googled this problem, and as I understand it is due to the fact that the editor (Visual Code) pre-compiles my code.
I’m wondering if there is a way to fix this?