That's just it, it doesn't. How many states with sales (flat) taxes are in the black?
Whether or not a particular state is "in the black", is a function of many more variables than what type of taxation is used. Your response seriously oversimplifies the issue.