Eh, I'm a lead and I write at least a couple hundred lines most weeks, though some weeks I'll write nothing because I'm in meetings or prepping a project (lots of estimates). But even if I'm mostly doing prep, I'll still usually take some tech debt because estimating all week sucks, and I can knock out a couple hundred lines of tech debt fixes in an afternoon.
So I don't buy it. We fired two leads before because they didn't do actual development, one just wrote proposals (no movement on implementation) and the other just did tech debt. I do a mix of feature work, planning, and tech debt, and I think that's how it should be. I oversee or do risky POCs and estimations, but other than that, I'm a regular dev. Oh, I also do reports because I'm also a manager, so midyear and EOY are pretty unproductive from a dev perspective for me.