There is a split opinion on this one so it come down to a personal choice, personally I don't usually prune my squash unless it has been a bad year and I have some struggling to ripen and others starting off but others do as a regular thing.
XX Jeannine