In an interview on ABC's "This Week," Ryan said he was "very disappointed" in the ruling.
But Ryan, like other Republicans on Sunday, vowed to repeal the law.
"We're not deterred," he said. "We think we can still repeal this law if we win this election. The American people will be the judge and jury on this law come November."
House Republicans are expected to vote July 11 on a measure to repeal the healthcare law in full.