code: function addComments(node, templateBefore, templateAfter) {
  		// check if comments should be added
  		var trigger = prefs.get('filter.commentTrigger');
  		if (trigger != '*') {
  			var shouldAdd = utils.find(trigger.split(','), function(name) {
  				return !!node.attribute(utils.trim(name));
  			});
  
  			if (!shouldAdd) {
  				return;
  			}
  		}
  		
  		var ctx = {
  			node: node,
  			name: node.name(),
  			padding: node.parent ? node.parent.padding : '',
  			attr: function(name, before, after) {
  				var attr = node.attribute(name);
  				if (attr) {
  					return (before || '') + attr + (after || '');
  				}
  				
  				return '';
  			}
  		};
  		
  		var nodeBefore = templateBefore ? templateBefore(ctx) : '';
  		var nodeAfter = templateAfter ? templateAfter(ctx) : '';
  		
  		node.start = node.start.replace(/</, nodeBefore + '<');
  		node.end = node.end.replace(/>/, '>' + nodeAfter);
  	}
docs: Add comments to tag
  @param {AbbreviationNode} node