Complete Combustion of Inorganic, Hydrogen Containing Covalent Compounds in the Atmosphere
The "completeness" of combustion depends on the proportion of the reactants, and on the temperature cycle, not only the peak temperature, but the rate at which the products are quenched. For example, using ammonia and air as fuel in internal combustion engines produces mostly $\ce{H2O}$ and $\ce{N2}$, with less than 0.1% $\ce{NO_x}$ according to Kobayashi, et. al. and Zacharakis-Jutz. 

The greatest oxidation state of a substance is often not thermodynamically stable. Perchlorates, chlorine dioxide , $\ce{H2O2}$ and similar compounds are somewhat unstable (i.e., BANG) and are not generally released in great quantities by combustion.