House Speaker Paul Ryan (R-Wis.) criticized Donald Trump June 7, for remarks Trump made about a Latino federal judge. However, Ryan said Trump is still a better alternative to Democratic presidential candidate Hillary Clinton. (C-SPAN)

House Speaker Paul D. Ryan said Tuesday that Donald Trump’s attacks on a federal judge, citing his Mexican heritage, constituted “the textbook definition of a racist comment,” but Ryan said he would continue to back the presumptive Republican presidential nominee.

“It’s absolutely unacceptable,” he said. “But do I think Hillary Clinton is the answer? No, I do not.”

Ryan (R-Wis.) made his comments in the Anacostia neighborhood of Southeast Washington, where he ventured with other Republican lawmakers to introduce the first installment of a GOP policy agenda, laying out anti-poverty proposals.

The agenda, Ryan has said, is a bid to focus the presidential campaign on ideas rather than personalities. But Trump’s comments about the judge, Gonzalo Curiel of the U.S. District Court in San Diego, are the latest in a string of controversial comments that have put Ryan on the defensive.

Ryan endorsed Trump last week, immediately before the businessman sharpened his attacks on Curiel, accusing the Indiana-born judge of ruling unfairly in a civil case against Trump concerning Trump University because he is “Mexican” and because Trump is proposing tough immigration policies along the U.S.-Mexico border.

“I’m building a wall,” Trump told the Wall Street Journal last week. “It’s an inherent conflict of interest.”

On Tuesday, Ryan insisted that his support for Trump is rooted in his agenda project, arguing that there is a better chance that the business mogul would sign these policies into law than Clinton would if she were to become president.

“I do absolutely disavow those comments. I think they’re wrong. I don’t think they’re right-headed. And the thinking behind it is something that I don’t personally relate to,” Ryan said. “But at the end of the day, this is about ideas, this is about moving our agenda forward, and that’s why we’re moving the way we’re moving.”

Senate Majority Leader Mitch McConnell (R-Ky.) — who denounced the comments Sunday on NBC’s Meet the Press, but stopped short of calling them racist — told reporters Tuesday he would not revisit the issue.

“Unless there was some new comment today, I don’t have anything to add,” he said.

But McConnell said he was worried Trump could do lasting damage to the Republican party’s relationship with Latino voters, and he offered Trump some advice.

“It’s time to quit attacking various people you competed with or various minority groups in the country and get on message,” McConnell said. “He has an opportunity to do that; this election is eminently winnable.”

“I hope that’s what he’ll do,” he added. “We’re all anxious to hear what he’ll say next.”

Ryan acknowledged that Trump’s comments have undercut his quest to put forth his policy agenda. “I’m not even going to pretend to defend them,” he said. “I’m going to defend our ideas.”

Pressed by a reporter on how he can support Trump in spite of his “textbook” racist comments, Ryan said, “I don’t know what’s in his heart, but I think that comment itself is defined that way.”

Sen. John McCain (R-Ariz.) on Tuesday was also critical of Trump.

Sen. Dan Coats (R-Ind.) also took to twitter to admonish Trump.

But New Jersey Gov. Chris Christie (R), who is running Trump’s transition project, broke sharply with Republicans critical of the business mogul’s remarks and defended Trump over allegations of racism.

“Donald Trump is not racist,” Christie told reporters Tuesday morning outside his polling place in New Jersey. “The allegations that he is are absolutely contrary to any experience I’ve had with him over the last 14 years.”

Christie said Ryan “is entitled to his opinion” but argued that Trump’s comments against a federal judge of Mexican heritage did not show him to be racist. Asked whether he thinks Trump has made comments he should not have made, Christie said he had and attributed it to Trump’s candor.

“That happens to anybody in politics who speaks their mind,” Christie said. “If you have this many cameras and microphones in front of you . . . and if you’re not a preprogrammed, robotic politician, you’re going to make statements you wish you could take back.”

Referring specifically to Curiel, Christie said: “I don’t know this judge, I don’t know him personally, I don’t know the history of the Trump University case, so I’m not going to get into speaking about that.”

Christie, who said he cast his ballot Tuesday for Trump, said that “what matters here is winning and losing, first and foremost,” and that Republicans must support Trump to defeat Clinton, the presumptive Democratic nominee.

“In a field of 17 people, Donald won, and every part of me wishes it was me today, but it’s not,” Christie said.

Philip Rucker contributed to this report.