I would think that if you make a comment that is relevant to the conversation and it is appropriate to include a relevant link to your site will provide some value Questions that arrise on blog comments and forums might even provide the inspiration for new content on your site that you can include a link to.
"Drive-by" link bombing is not cool though and Google is right to crack donw.