addNode method for hierarchicalopts, JSDoc-compatible comments