Comment.tpl.php how to add a link back to the node
You can use the entity_uri() and l() functions, similar to how it's done in template_preprocess_node():

$uri = entity_uri('node', $node);
$link = l($node-&gt;title, $uri['path'], $uri['options']);