Fix index comment example and dot prefix for hash index comment