You do not have to disclose your HIV status when you apply for public housing.
However, if you wish to get priority housing for medical reasons related to your HIV, then you will need to provide supporting evidence that will involve disclosure. Similarly, if you need to live near a particular medical facility, or need a property with adaptations to suit a disability that has resulted from your HIV, then you will need to provide supporting evidence and disclose your HIV status.