A premarital or pre-civil union agreement shall not adversely affect the right of a child to support.
N.J.S. § 37:2-35