add global document variable comment