A lid is not only a flat, even surface to write on; it's also easier to glance at labels on the lid of a jar and quickly grab what you need, instead of turning jars around or picking them up to see what it says on the front. Permanent markers work for disposable lids, but for reusable ones, try a dry-erase marker, which is washable, but might smear easily.