I am guessing the consular officer was referring to a case in which she was not required to file taxes (for example certain disability compensation cases etc - in those cases you must write a written statement why you didn’t file and back it up with proof under what IRS exemption you fall) which happens but is rare.
If she works she must file taxes generally - independent of where she works in the world.