Slightly surprised that your knee is in contact with headset . . .
I don't recall how it happened, to be honest, because it wasn't the first place I thought to check, but the evidence suggests it's a habit. In fact, having just gone downstairs and tried it out, it's when waiting at the lights or a junction. standingforwards of the saddle, right foot down, left knee up poised ready to accelerate away as soon as it's safe
the "black stuff" may be ground up ball-bearings suspended in grease!!
While I do do most of my own maintenance, this might be a bit much for little old me. No doubt I'd take it apart, then not have the right parts or tools to replace and the bike would be u/s for weeks. I only have the one bike, so being up on blocks for any time isn't really an option. I'll chat to the bike shop.
thanks very much