President Trump spent the last four days serial-tweeting about the NFL’s national-anthem protests — and then claimed to reporters Tuesday that he was not obsessing over the issue.

“I wasn’t preoccupied with the NFL,” insisted Trump, who has tweeted more about that topic than any other since Saturday.

During a Rose Garden press conference with Spain’s prime minister, Trump was asked if his energies could have been better spent addressing Hurricane Maria’s destruction of Puerto Rico.

“To me, the NFL situation is a very important situation,” he said. “I’ve heard that before about, ‘Was I preoccupied?’ Not at all. I have plenty of time on my hands. All I do is work. To be honest with you, that’s an important function of working.”

The president has targeted the NFL for allowing athletes to symbolically protest racism by kneeling during the national anthem.

His crusade began at a Friday campaign rally in Alabama, where his comments about how team owners should fire “son of a bitch” anthem protesters ­ignited a national firestorm.

It continued on Twitter into Tuesday morning, when he took aim at the Dallas Cowboys, who on Monday Night Football took a knee with their owner, Jerry Jones, before the anthem was sung. They then stood arm-in-arm for the anthem.

“The booing at the NFL football game last night, when the entire Dallas team dropped to its knees, was loudest I have ever heard. Great anger,” he wrote in one tweet.

He concluded his early-morning thread minutes later by crediting the Cowboys for kneeling before the anthem but standing once it began playing.

“But while Dallas dropped to its knees as a team, they all stood up for our National Anthem. Big progress being made-we all love our country!” he wrote.

Trump’s focus broadened as the day went on, but he slipped in one more dig at the NFL later in the morning.

“The NFL has all sorts of rules and regulations. The only way out for them is to set a rule that you can’t kneel during our National Anthem!” he wrote.

The tweet was sandwiched between a message to San Juan, PR, Mayor Carmen Yulín Cruz thanking her for thanking him, and another supporting the incumbent senator in the Alabama special primary-runoff vote.