You can add comments anywhere in a configuration with the annotate command. Just navigate to the concerned hierarchy and put in your comment.
SAMPLE CONFIGURATION SHOWING THE USE OF ANNOTATE:
[edit] user@host# show protocols { ospf { area 0.0.0.0 { interface so-0/0/0 { hello-interval 5; } } } } [edit] user@host# edit protocols ospf [edit protocols ospf] user@host# set area 0.0.0.0 user@host# annotate area 0.0.0.0 "Backbone area configuration added June 15, 1998" [edit protocols ospf] user@host# edit area 0.0.0.0 [edit protocols ospf area 0.0.0.0] user@host# annotate interface so0 "Interface from router sj1 to router sj2" [edit protocols ospf area 0.0.0.0] user@host# top [edit] user@host# show protocols { ospf { /* Backbone area configuration added June 15, 1998 */ area 0.0.0.0 { /* Interface from router sj1 to router sj2 */ interface so-0/0/0 { hello-interval 5; } } } }