Reason for 27 MOhm resistors on Analog Discovery oscilloscope
It looks to me like they want to keep a DC reference when the JP2 is not switched on and all the current goes through the CAP (when the scope is in 'AC mode'), the ADC probably needs a DC reference, or if only the cap was used the signal would float and wouldn't give a good oscilloscope readout.