WASHINGTON — President Trump said he was considering “accelerating” the introduction of his $1 trillion infrastructure bill — but he pointedly refused to say whether he planned to include two major New York City transportation projects that his budget for next year would defund.

Mr. Trump, speaking in a wide-ranging interview in the Oval Office on Wednesday, described the infrastructure package as a high-value legislative sweetener that he could attach to a revived Affordable Care Act repeal bill or tax code overhaul to attract bipartisan support that thus far he had neither sought nor received.

“Infrastructure is so popular that I might want to use it for another bill,” said Mr. Trump, who is in need of a legislative win after the humbling defeat of his health care bill last month. “Infrastructure is so popular with the Democrats and pretty popular with the Republicans. A lot of Republicans want infrastructure, too.”

The president, who inherited and expanded a family fortune built on middle- and upper-income real estate development, has proposed eliminating an Obama-era infrastructure program that would have funded long-delayed proposals to build a new train tunnel under the Hudson River between New York and New Jersey, and extend the Second Avenue subway in Manhattan north to East Harlem.