Stephen Fry has recounted a story of the Queen remarking that same-sex marriage is “wonderful”.

The Queen gave Royal Assent to the Marriage (Same Sex Couples) Act in July 2013, paving the way for marriages to finally begin last March.

QI host Stephen Fry – who recently married comedian Elliot Spencer – recounted a story about the monarch on The Jonathan Ross Show.

He said: “It was only last summer that Her Majesty The Queen gave the Royal Assent.

“I don’t know whether this is true, but there’s an Italian saying… if it’s not true, it’s well founded.

“When the Queen signed the Royal Assent for the equal marriages act, allowing gay people to marry for the first time, she put it down and said ‘Well, who’d have thought 62 years ago when I came to the throne, I’d be signing something like this? Isn’t it wonderful?'”

Fry continued: “I am so proud to live in the country where [acceptance] seems to be the absolute majority view.”

The Queen – who maintains political neutrality – has never publicly remarked about same-sex marriage, and did not mention the first weddings in her Christmas broadcast last year.

Stephen Fry has previously apologised to the royal family after admitting to snorting cocaine in a number of estates – including Buckingham Palace, Sandringham House, Windsor Castle and Clarence House.

He wrote in autobiography More Fool Me: “I take this opportunity to apologise unreservedly, to the owners, managers or representatives of the noble and ignoble premises and to the hundreds of private homes, offices, car dashboards, tables, mantelpieces and available polished surfaces that could so easily have been added to this list of shame.

“You may wish to have me struck off, banned, black-balled or in any other way punished for past crimes; surely now is the time to reach for the phone, the police or the club secretary.”

Prince William and the Duchess of Cambridge Kate Middleton recently declined to take part in a campaign to pardon at least 49,000 gay men who were convicted of gay sex convictions.