WASHINGTON—Secretary of State Rex Tillerson said Wednesday he hasn’t contemplated resigning and praised President Donald Trump’s foreign policy, calling Mr. Trump “smart.”

“I have never considered leaving this post,” Mr. Tillerson said.

Mr. Tillerson spoke in the State Department’s Treaty Room to deny longstanding rumors about his possible...