It's a false binary to assume that a government has to be either atheistic or dogmatically religious. The middle ground is a government that sustains freedom of religion, and neither favors any one religion over any other nor puts barriers in the way of religious practice -- you know, like the United States had until quite recently.
Re: China