Q: Valid English sentence (grammatically) or not: He muttered that the visitors will leave.

A: acceptable

Q: Valid English sentence (grammatically) or not: Which table did you wonder on Kim put the book?

A: unacceptable

Q: Valid English sentence (grammatically) or not: I'm surprised that he ever said anything.

A:
acceptable