Tom Holland admits that Spider-Man’s outfit is a little snug, but he’s made his peace with the downside of slipping on the wall-crawler’s spandex.

“The suit’s not the greatest thing, but sometimes when it’s uncomfortable, you just have to remind yourself of the long list of actors that would love to be in that suit and you just go, ‘do you know what, f**k it. I’m the luckiest kid alive,'” Holland said at Saturday’s New York Film Festival premiere of “The Lost City of Z.” “‘I deserve to be here and I’m going to give it my best.'”

Holland’s commitment to playing the superhero in next summer’s “Spider-Man: Homecoming” extends to the film’s stunt work. He’s often the one wearing the mask as Spidey scales tall buildings or administers a beatdown to crooks and villains.

“I did as many [of the stunts] as I could, but there are some things legally that I couldn’t do,” said Holland. “There were stunt doubles who were all very, very talented guys who really supported me throughout the process. Whenever there was a stunt that I didn’t necessarily feel comfortable about, they would step in and show my how to do it, and coach me through the process.”

Holland made his introduction as Spider-Man in last summer’s “Captain America: Civil War.” He said it’s possible that the web-spinner may make another appearance in a future Avengers film after his upcoming standalone adventure hits theaters.

“It’s all up in the air,” said Holland. “I believe some sort of deal is in the mix, but I’m unclear as to what that deal is.”

Shooting “The Lost City of Z” presented a number of challenges. Much of the film unfolds in the Amazon, with Holland and co-stars Charlie Hunnam and Robert Pattinson playing British explorers dodging hostile natives and disease. The film is inspired by a true story and is based on the expeditions of Percy Fawcett. Much of the production took place in remote parts of the Colombian jungle.

“It was literally one of the most insane shoots I’ve ever been on in my entire life,” said Pattinson. “There was a crew member who got bitten in the neck by an arbor viper coming down from a tree. We found out we didn’t have a nurse. We didn’t have a medic on set and no anti-venom and we’re four hours from the city, and everyone’s just like, ‘smoke a cigarette, it will work.’ The props guys sucked the venom from the guy’s neck.”

Director James Gray, whose previous works include “The Yards” and “The Immigrant,” said it was the most difficult and grueling film he’d ever made.

“It was punishing,” said Gray. “It was a hundred degrees, a hundred percent humidity and then there were the bugs.”

But Holland said that he didn’t mind the heat and the critters. He just kept reminding himself that the characters in “The Lost City of Z,” really endured those privations and dangers.

“As an actor, I love a challenge,” he said.