I'm sure that the GP comment referred to total costs, not just tuition. Cost of living in a German city for 5-6 years can definitely add up to 30k-100k. Note that the costs of attendance typically cited by US schools similarly include cost of living, e.g. housing and meals (e.g. [0]).
[0] https://sfs.mit.edu/undergraduate-students/the-cost-of-atten...