add resource meta comment when save, and remove resource meta comment before load