Syntactically, it's a question. But as you said, pragmatically, it's really not. It often has more of the force of a statement or exclamation. You can find instances with either question marks or exclamation marks (or even just periods) in published writing. You could even use both an exclamation mark and a question mark if you want.