Your stand alone Jinja sample looks pretty much like embedded code. {% Jinja code ... %}. etc.
The only thing in your Jinja file which is out side of this are some double quoted strings:
"Array"{%...%}
Are quoted strings outside of {%...%} part of the Jinja language or just some arbitrary text? There's also a some commas outside of {%...%}. I'm guessing if it's outside of {%...%}, then it's not colored as Jinja.