Can I just enter the squid lines into the custom configuration of Squid box or do I have to muck with the default files that create the squid config still?
You have to tinker the default files that generate squid.conf because as far as I know, pfsense generated squid.conf on each reboot which will create issues for you at a later stage.