Earning by comments will require you to have your own Blogs and Websites. You will then share these dedicated domains (Owned by You) in the comment window. If an option to add your URL or website is not available, then you do not include links. You contact the site support first and get permission to share your URL. Oh, and NEVER share affiliate links in comments.
If you're interested in online marketing, setup email software and create a lead magnet that you can use in your sales funnel. Then, build up that list. It's often said that you can expect to earn about $1 per subscriber per month. If you have a list of 10,000 subscribers, that means you can earn roughly around $10,000 per month. You will need to deliver value and not pitch them on every email, but it is a very achievable goal in a short period.
Blogging is something that requires patience, persistence and discipline. It may mean writing everyday for over a year before you really start to see any money from it. There are exceptions to the rule, but from my dealings with other bloggers, it seems to be pretty common to spend one or even two years building your blog, your brand and your authority, before making any serious amount of money.