imho the right code formatting to use a fluent interface is this:

    $query = $dm->getQueryBuilder()
        ->nodeType('nt:mynodetype')
        ->from('User')
        ->getQuery()
    ;

then you can comment out and add things just as flexible :-)