Can I wash the cover in the washing machine without ruining it?
No, sorry, but I wouldn't recommend that, and neither does the manual. It should be only hand-washed/wipe-cleaned. Always consult your stroller manual, even though washing in the machine is never very good for strollers even if approved in the manual.
Read more about how to clean your stroller here, if you'd need help there.