What is the problem? If you are looking at the colouring of this std::cout line then this is actually the IDE, it is nothing to do with VA. Try turning off:
IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color
and see what happens. This is an interesting IDE feature, but various people, me included, have seen it get the colouring wrong.
No, currently VA does not attempt to work out or colour inactive code. In fact VA is designed to be active and helpful even in inactive code, since just because you are going to want help when editing code that is not active on the current platform.