Styles, who is currently top of the UK album and singles charts, returned to SNL for a second stint as guest host.
During a segment on how dull he had become during his recent hiatus, having kept a low profile since his Love On Tour shows ended in 2023, the 32-year-old quipped he was "tremendously boring".
"I took up jogging. There's nothing interesting about that, but because I'm me, people pretend to find that interesting," he said.
"I don't run to be interesting. I do it for the feeling it gives me, that runner's high. It's just amazing.
"Watermelon sugar high, runner's high. And if that doesn't do it for you, I also love ecstasy.
"As a British man who spent a lot of his life in the public eye, I can assure you, there's something nice about being boring. It's better than the alternative."
At that point, the image of a shocked Andrew in the back of a police car following his arrest in February appeared on the screen.
Styles also had a dig at those who had accused him of "queer-baiting" in the past and his use of fruit as a metaphor for sex in song lyrics.
"I realised I'd spent half my life in music - touring, playing albums, and making songs about fruit that people think are about sex," Styles said, speaking about his time off.
"I just really like fruit, guys. I like sex, too.
"People seemed to pay a lot of attention to the clothes I was wearing, and some people accused me of something called queer-baiting.
"But did it ever occur to you that ... maybe you don't know everything about me, dad?"
Styles' new album, Kiss All The Time. Disco, Occasionally, shot to the top of the UK albums chart on release on Friday, while his latest single, American Girls, peaked on the singles chart.
His previous album Harry's House and single As It Was also bagged him a chart double after their release in 2022.
Styles rocketed to global fame in One Direction - alongside Niall Horan, Liam Payne, Zayn Malik and Louis Tomlinson - after the group formed on ITV singing competition The X Factor in 2010.
Styles has gone on to achieve global success, winning multiple Grammy and Brit awards since One Direction went on hiatus in 2016.