Can I paint the top of a glass top stove?
The only absolute permanent way to mark glass that I know of is etching with a glass etching cream.  I've used this for custom drink glasses and casserole dishes (all clear glass), but I don't know what it would look like on a black stove.  It doesn't color the glass, but it would make little frosted specs all over if you sprinkled the etching over the surface.

I can tell you that the frosted markings do sort of disappear when the surface is wet, but always show back up once it dries.

This is more of a long comment because it's not tested for your purpose, but it's something to consider and possibly test in a corner or something.  Before you do anything, realize that it permanently "damages" the glossy surface of the glass and there's no way to undo it if you don't like it.

Any paint will be raised from the surface of the glass which means it can be scraped off and could make cleaning harder.  Maybe someone has some amazing product to try, but there's not a paint I know of that I would put on a cooktop surface.  I believe the white specks and lines on a cooktop are some type of heat-fused ceramic like a glazing.