The Parisian club has now won the season-opening cup on 14 separate occasions.
Paris Saint-Germain required a stoppage-time equaliser followed by a successful spot-kick decider to overcome Marseille in the Gulf and secure a record-extending fourth consecutive Trophee des Champions title.
The European champions appeared to be sailing towards a comfortable win in the showdown featuring the Ligue 1 champions and the French Cup winners after the French winger found the net early on.
However, Marseille fired twice in the closing moments to take a shock lead. First, the English forward scored from the spot-kick, before Willian Pacho unfortunately turned the ball into his own net for an own-goal.
In a remarkable turn of fortune, the Portuguese striker grabbed a vital leveler in the final moments to send the contest into a penalty shootout. PSG goalkeeper Lucas Chevalier then emerged as the hero, saving crucial kicks from O'Riley and Hamed Traore.
From the spot, Ramos, the midfielder, Nuno Mendes, and the young talent all converted with composure for Paris Saint-Germain to complete a convincing penalty win.
The record winners Paris Saint-Germain, who faced last season's Ligue 1 runners-up Marseille after achieving a league and cup double, have now lifted this trophy for the 12th time in the last 13 years.