I’m sure they are questioned, in the case that you mention, where a police officer “discovers” the corpse. But most of the time the police are called after someone else discovers the body (or the officer may be searching for the body, for example, and be “the one” to make the find, and in that case there’s no need to question him).