The Montgomery County school board's medical advisory commitee yesterday recommended adoption of a policy on AIDS that would exclude from classes a child or teacher who has the disease, with certain exceptions.

The committee's recommendations were not unanimous. A dissident group of doctors said a teacher or student with AIDS or AIDS Related Complex, a condition in which the victim shows only some signs of the illness, should be "excluded indefinitely" from the classroom.

"The medical community felt we needed larger studies to be sure there is no apparent spread" through casual contact, said Dr. Marinda Schwartz, a member of the Montgomery County Medical Society and the medical advisory committee. "We want to be very, very cautious."

The committee recommended that a staff member or student with AIDS be removed "from the regular school/work environment to a restricted setting," and that each case then be looked at individually to determine if the AIDS victim should be allowed back into the school system.

Board members listened intently to the committee members' conflicting ideas on what the school system's policy on AIDS should be.

Board President Robert Schoenberg said he was concerned about "reaching a level of comfort with the feeling that AIDS is not transmitted through casual contact."

Board members have scheduled a discussion with doctors on the topic of AIDS for Oct. 21.

Superintendent Wilmer Cody has said that until the board adopts a formal policy, he will reassign any teacher with AIDS and provide homebound instruction to any student with AIDS.

Two Montgomery County teachers have died of AIDS in the last 13 months.