WASHINGTON — Sarah Huckabee Sanders, the White House press secretary, said she was asked to leave a Virginia restaurant Friday night because of her work in the Trump administration, becoming the latest official to be singled out for her support of the president’s policies.

In a Saturday tweet, Ms. Sanders said that the owner of the restaurant, the Red Hen in Lexington, Va., suggested she leave, and she complied.

The woman’s actions “say far more about her than about me,” Ms. Sanders said. “I always do my best to treat people, including those I disagree with, respectfully and will continue to do so.” A person identified as a waiter at the restaurant said in a Facebook post that Ms. Sanders had been accompanied by seven other guests.