The avast free version doesn't have that function, it isn't a firewall, which is where I would consider being the logical place to block sites.
You can also block sites using the HOSTS file, manually of using one of the many HOSTS file managers.
Some browsers, firefox (with adblock plus and or NoScript add-ons), etc. have add-ons which can also be used to block sites.