Yes, it's a good way to clean a glass stove top. But should you use it? The answer can change based on the extent of dirt and grime, as vinegar is more effective in some ways than others.
If you've got a whole cupboard of cleaning products, it may well be time to ditch them in favour of two kitchen essentials.