In brief: If you are a family member of a diplomatic agent posted in France, you are in principle deemed to have your tax residence in the sending country. The criteria set out in Article 4 B of the French General Tax Code do not apply to you.
Exceptions
You do not fall under this rule if you are a French national, a permanent resident, or if you carry out a gainful activity.