It all depends, if you're commenting on related blogs, then those links will pass some value to your site. Same as with forum POSTS (not profiles), if you can write a post related to your niche, and link to your money site from there, they certainly will pass value.
Blog comments on non-related blogs aren't worth that much though, you just need to do them in high volumes. Same with forum profiles...