Stand clear of the wedding ceremony, please!

Two former US Army soldiers tied the knot on the Q train over the weekend — and told The Post they chose the line for its stunning skyline views.

Manhattan residents Robert Musso, 30, and Francis Denmark, 32, exchanged “I Do’s” Saturday evening as the train crossed the Manhattan Bridge.

“I was mesmerized,” the Georgia-born bride said. “Speechless as I walked on . . . While I was saying my vows, behind him was the bridge and the water.”

But Denmark, a special-education graduate student at New York University, wasn’t always sold on the off-the-rails locale.

“At first I was skeptical,” she said. “When he mentioned it, [my response was] ‘No, it’s dirty and I’m not gonna do that.’”

But after a couple of days, “[I thought] it would be something unique and something different.

“So it’s not just a ceremony that you have to go through,” she said. “It was more an adventure for us.”

At around 5 p.m. Saturday, the groom, a consulting analyst, hopped on at the Prospect Park station with a wedding party of 10, plus a photographer and two assistants, to decorate the train car with flowers and garlands.

Clad in white, Denmark met up with the group, getting on the train at the Dekalb Avenue stop with her father and nephew.

There were no delays, though the bride said: “When we planned it, we knew anything could happen.”

One rowdy passenger did make a stink during the event.

“He was like, ‘You’re in my way, get out of my way,’” said Denmark. “He apologized afterwards once he realized what was going on.”

But other riders joined in on the fun, with one woman fixing the bride’s hair.

Musso’s sister-in-law, a retired judge, conducted the ceremony.

“We’re told this was a moving ceremony and the bride wore a beautiful train,” quipped MTA spokesman Shams Tarek. “President [Andy] Byford and the rest of Transit wish the happy couple all the best for the future — and thank them for their service.”

The couple, both Army captains, each did a tour in Afghanistan before they met in May 2016 at the Joint Base Lewis-McChord.

They are in the process of moving to Park Slope — where they’ll live off the Q Train.

“The subway, as much as it is maligned, it is still an integral part of the city. If it were to stop, the city would stop,” said Musso. “The MTA is like a marriage, they both need work, but they can both take you to beautiful places.”