<% Story.comments %>
macro loops over comments and renders them

Sourcecode in Story/macros.js:
1:   function comments_macro(param) {
2:      var s = this.story ? this.story : this;
3:      if (!s.site.preferences.getProperty("discussions") || !s.discussions)
4:         return;
5:      this.comments.prefetchChildren();
6:      for (var i=0;i<this.size();i++) {
7:         var c = this.get(i);
8:         var linkParam = new Object();
9:         linkParam.name = c._id;
10:        Html.openTag("a", linkParam);
11:        Html.closeTag("a");
12:        if (c.parent)
13:           c.renderSkin("reply");
14:        else
15:           c.renderSkin("toplevel");
16:     }
17:     return;
18:  }