John Mayer said the idea for his song “Comfortable” first came to him while riding the MBTA.
John Mayer said the idea for his song “Comfortable” first came to him while riding the MBTA.
(Aram Boghosian for The Boston Globe)

It’s not every day that a Grammy Award-winning music artist gives a shout out to the MBTA.

John Mayer — singer, songwriter, celebrity-beau-of-the-week — performed Saturday night at the Comcast Center in Mansfield. In the middle of his set, Mayer reminisced about his days as a student at the Berklee College of Music and his time in Boston in the late 1990s: His old dorm room at 150 Massachusetts Avenue, strolls along Newbury Street when he couldn’t afford any of the shops’ wares, and his time taking the T.

The Green Line, he said, was where he first came up with the idea of one of his earliest songs, which he rarely performs: “Comfortable,” a wistful love song to an ex, came to him as he held on to the handrail on a screechy stretch of Boston’s most-beloved T line.

Advertisement - Continue Reading Below

Of course, Mayer’s stint at Berklee — he dropped out at the end of his second semester — doesn’t exactly make him a home-grown hero. But when the crooner dedicated the MBTA-inspired ballad to Beantown, Bostonians in the audience couldn’t help but swoon.