Those numbers are highly discredited.
Historians such as Charles Patrick Fitzgerald argue that a claim of 36 million deaths is incompatible with contemporary accounts of the war. They point out that the numbers recorded on the postwar registers reflect not only population loss, but also a breakdown of the census system as well as the removal from the census figures of various classes of untaxed persons, such as those in religious orders, foreigners and merchants. For these reasons, census numbers for the post-rebellion Tang are considered unreliable. Another consideration is the fact that the territory controlled by Tang central authority was diminished by the equivalent of several of the northern provinces, so that something like a quarter of the surviving population were no longer within the area subject to the imperial revenue system.
So, in all, even less that 5%...
If the earth had just 200 people, 20 of them killed is 10%, but it's nothing that a small determined fight between two tribes can't easily achieve, without even weapons.
Whereas the 3-4% of the 3 billion during WWII is a much bigger affair -- took tons of bombs, battles, war-caused famines, an extermination program, and even nuclear bombs...