Adds the element's summary tag to the lines if it exists.

def _format_summary(lines, element, spacer="  "):
    """Adds the element's summary tag to the lines if it exists."""
    summary = spacer + element.summary
    if element.summary == "":
        summary = spacer + "No description given in XML documentation for this element."
    lines.append(summary)