depends on the disease. many types of bacteria and viruses will be transmitted on fomites (objects like clothing that is contaminated). i am not sure why you would want to wear anyone's sweaty (stinky) clothes
can you contract a disease from someone elses sweat? wearing sweaty unwashed clothes!