I think it's more like aspartame is 200 times sweeter than sugar, so they just don't have to use as much of it.  Which results in near 0 amounts of calories.  I'm sure a diet pepsi probably has 2 or something, but if it's less than 5 they can say 0.  This is all stuff I've heard though, I could be wrong.