Musk, 47, spent two and a half hours on Joe Rogan’s podcast late Thursday discussing everything from artificial intelligence and its impact on humankind to flame throwers and social media.

Musk and Rogan sipped whiskey throughout their conversation. And at one point, the comedian lit up a joint, and Musk took a puff.

“I’m not a regular smoker of weed,” Musk said. “I don’t actually notice any effect … I don’t find that it is very good for productivity.”

He told Rogan that ideas are bouncing around inside his head all the time — “it’s like a never-ending explosion” — and that he realized he was different from other people when he was just 5 or 6 years old.

“I thought I was insane,” Musk said. As a kid, he added, he worried that authority figures might notice his “strangeness” and put him away somewhere.

There was so much other interesting stuff as well. For example, Musk appreciatively handled a samurai sword in the studio that Rogan said was 500 years old.

Smoking weed: ‘It’s like a cup of coffee in reverse’