Would putting my car in Neutral during idling save gas?

I’m trying to remember where I read it, but I read that if you’re gonna idle for more than 10 seconds, turn off your engine and you’ll save gas. That’s what all the electric cars and the fancy engines with cylinders that can be shut off do now…