Image copyright Getty Images

Ben Affleck has scotched rumours he is quitting as the caped crusader after his upcoming role in Justice League.

He'd been due to star in and direct another standalone film - The Batman - but pulled out of directing duties in January.

After Affleck's script was also ditched by incoming director Matt Reeves, it looked like he was going to jump ship.

But he denied he was leaving the franchise, saying: "Batman is the coolest part in any universe."

"Let me be very clear - I am the luckiest guy in the world. I'm so thrilled to do it," the star told fans at Comic-Con on Saturday.

"There's a misconception that because I wasn't directing it, I wasn't enthusiastic about it, but it's amazing."

Image copyright Warner Bros Image caption Ben Affleck reprises his role as Batman in Justice League, which sees him team up with heroes including The Flash, Superman, Cyborg, Wonder Woman and Aquaman

Affleck also addressed reports that Warner Bros was working on plans to "usher out" his Batman gracefully as he is getting too old.

"I still can't believe that after two films [Warner Bros bosses] Kevin Tsujihara, Sue Kroll and Toby Emmerich have said, 'We want you to be our Batman' - and I believe them."

Regarding War for the Planet of the Apes director Reeves taking over his directing role and starting afresh with scripting, Affleck said: "I would be an ape on the ground for Matt Reeves, never mind Batman.

"It's a great time in the DC universe, so you can see why I am so excited to be Batman."

Image copyright Getty Images Image caption The Justice League cast - minus Henry Cavill's Superman - attended the Comic-Con panel

The Warner Bros panel also featured a new Justice League trailer and confirmed that Gal Gadot's Wonder Woman would be getting a sequel.

It's unsurprising as Patty Jenkins' film is the biggest of the summer, taking $386m (£297m) so far in the US and $771m (£593m) around the world.

It's also the third highest-grossing Warner Bros movie ever, behind The Dark Knight and The Dark Knight Rises - and the highest-grossing live action film by a female director.

Warner Bros also confirmed it intends to make a standalone Batgirl film and a new Green Lantern movie.

Follow us on Facebook, on Twitter @BBCNewsEnts, or on Instagram at bbcnewsents. If you have a story suggestion email entertainment.news@bbc.co.uk.